const Pipeline = require('node-spider').Pipeline;
module.exports.Pipeline = class extends Pipeline{
    constructor(){
        super();
    }
    //爬虫开始运行
    start(){

    }
    //处理数据
    handle(result,spider){
        console.log("pipeline:"+result);
    }
    //关闭爬虫
    close(){

    }
}